<%@ page language="java" contentType="text/html; charset=UTF-8"
	pageEncoding="UTF-8"%>
<%@ include file="/pages/common/taglibs.jsp"%>
<!DOCTYPE html PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN" "http://www.w3.org/TR/html4/loose.dtd">
<script type="text/javascript"
	src="${ctx}/pages/templete/js/validate/cbrmb_query.js"></script>
	<form action="${ctx}/cbrmb/cbrmbQuerySubmit.do" id="cbrmb_query"
		name="cbrmb_query" method="post" target="_blank">
		<input type="hidden" value="${sessionScope.gopay_webtest_key}"
			name="VerficationCode" id="VerficationCode">
		<table width="100%">
		<tr>
			<td width="30%" align=right>版本号:</td>
			<td>
			<input type="text" id="version" name="version" value="2.0" size="50"/>
			</td>
		</tr>
			<tr>
				<td width="30%" align=right>交易代码:&nbsp;&nbsp;</td>
				<td align=left width="45%"><input type="text" id="tranCode"
					name="tranCode" value="${importInfo.tranCode }" size="50" /></td>
				<td width="25%" align=left><font color=red>*</font> <span
					id="tranCodeTip"></span>
				</td>
			</tr>
			<tr>
				<td width="30%" align=right>商户ID:&nbsp;&nbsp;</td>
				<td align=left width="45%"><input type="text" id="merchantID"
					name="merchantID" value="${importInfo.merchantID }" size="50" /></td>
				<td width="25%" align=left><font color=red>*</font> <span
					id="merchantIDTip"></span>
				</td>
			</tr>
			<tr>
				<td width="30%" align=right>订单号:&nbsp;&nbsp;</td>
				<td align=left width="45%"><input type="text" id="merOrderNum"
					name="merOrderNum" value="${importInfo.merOrderNum }" size="50" />
				</td>
				<td width="25%" align=left><font color=red>*</font><span
					id="merOrderNumTip"></span>
				</td>
			</tr>
			<tr>
				<td width="30%" align=right>交易时间:&nbsp;&nbsp;</td>
				<td align=left width="45%"><input type="text" id="tranDateTime"
					name="tranDateTime" value="<%=com.gopay.webtest.util.DateUtils.date2string(new java.util.Date(),com.gopay.webtest.util.DateUtils.DEFAULT_PATTERN ) %>" size="50" />
				</td>
				<td width="25%" align=left><font color=red>*</font><span
					id="tranDateTimeTip"></span>
				</td>
			</tr>
			<tr>
				<td width="30%" align=right>交易金额:&nbsp;&nbsp;</td>
				<td align=left width="45%"><input type="text" id="tranAmt"
					name="tranAmt" value="${importInfo.tranAmt }" size="50" /></td>
				<td width="25%" align=left>
				</td>
			</tr>

			<tr>
				<td width="30%" align=right>用户浏览器IP:&nbsp;&nbsp;</td>
				<td align=left width="45%"><input type="text" id="tranIP"
					name="tranIP" value="${importInfo.tranIP }" size="50" /></td>
				<td width="25%" align=left><font color=red>*</font> <span
					id="tranIPTip"></span>
				</td>
			</tr>
			<tr>
				<td width="30%" align=right>附加信息:&nbsp;&nbsp;</td>
				<td align=left width="45%"><input type="text" id="msgExt"
					name="msgExt" value="${importInfo.msgExt }" size="50" /></td>
				<td width="25%" align=left>
				</td>
			</tr>
			<tr>
				<td width="30%" align=right>指定返回编码:&nbsp;&nbsp;</td>
				<td align=left width="45%"><input type="text"
					id="merchantEncode" name="merchantEncode"
					value="${importInfo.merchantEncode }" size="50" /></td>
				<td width="25%" align=left>
				</td>
			</tr>


			<tr>
				<td width="30%" align=right>预授权号:&nbsp;&nbsp;</td>
				<td align=left width="45%"><input type="text" id="authID"
					name="authID" value="${importInfo.authID }" size="50" /></td>
				<td width="25%" align=right>
				</td>
			</tr>

			<tr>
				<td width="30%" align=right>是否锁定:&nbsp;&nbsp;</td>
				<td align=left width="45%"><input type="text" id="isLocked"
					name="isLocked" value="${importInfo.isLocked }" size="50" /></td>
				<td width="25%" align=right>
				</td>
			</tr>

			<tr>
				<td colspan=3>&nbsp;</td>
			</tr>
			<tr>
				<td colspan=3 width="100%">
					<center>
						<input type="button" name="def_button" id="def_button"	value="设置默认值">&nbsp;&nbsp; 
						<input type="submit" name="submit" id="submit" value="开始测试">
					</center>
				</td>
			</tr>

		</table>
	</form>
<div>
	<img src="${ctx}/image/chaxundingdan.jpg" alt="" height="200px"></img>
</div>